package demo.dto;

import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

/**
 * 发送私信 DTO
 *
 * @author 肖溥博文
 * @version 1.0
 */
@Data
public class RequestSendPMDto {
    // 发送人 uid
    @NotNull(message = "发送人 uid 不能为空")
    private Long senderUid;

    // 接收人 uid
    @NotNull(message = "接收人 uid 不能为空")
    private Long recipientUid;

    // 私信内容
    @NotBlank(message = "私信内容不能为空")
    private String content;
}
